<%@ Page Language="vb" AutoEventWireup="false" Codebehind="adduser.aspx.vb" Inherits="georgia_globaltp.adduser" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>adduser</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body leftMargin=0 topMargin=0 MS_POSITIONING="GridLayout">
		<form id="frmMain" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td id="header" colSpan="2">
						<table style="FILTER: progid: DXImageTransform.Microsoft.Gradient(endColorstr='#FFFFFF', startColorstr='#C0CFE2',gradientType='0'); WIDTH: 480px; HEIGHT: 312px"
							borderColor="#004080" cellSpacing="0" cellPadding="3" align="center" border="1">
							<tr>
								<td>Complete all information and click Create at the bottom of the form to create a 
									User. Note that all fields with an asterisk (<img src="<%=imgpath%>/required.gif" border="0" alt="required field">) 
									are required.</td>
								<%	if len(Msg) > 0 then%>
								<td class="error"><%=Msg%></td>
								<%	end if%>
							</tr>
							<tr>
								<td style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-WEIGHT: bold; PADDING-BOTTOM: 5px; COLOR: #ffffff; PADDING-TOP: 5px; BACKGROUND-COLOR: #294984"
									colSpan="2">Create New User</td>
							</tr>
							<tr>
								<td>
									<table class="minorbox" cellSpacing="0" width="100%">
										<tr>
											<td>
												User ID :
											</td>
											<td>
												<asp:textbox ID="UID" TabIndex="0" runat="server" maxlength="15"></asp:textbox>&nbsp;<img src="<%=imgpath%>/required.gif" border="0" alt="required field">
											</td>
										</tr>
										<tr>
											<td>
												Password :
											</td>
											<td>
												<asp:textbox TextMode="password" ID="Password" maxlength="30" runat="server"></asp:textbox>&nbsp;<img src="<%=imgpath%>/required.gif" border="0" alt="required field">
											</td>
										</tr>
										<tr>
											<td>
												Confirm Password :
											</td>
											<td>
												<asp:textbox TextMode="password" ID="PasswordConfirm" maxlength="30" runat="server"></asp:textbox>&nbsp;<img src="<%=imgpath%>/required.gif" border="0" alt="required field">
											</td>
										</tr>
										<tr>
											<td>
												First Name :
											</td>
											<td>
												<asp:textbox ID="firstname" maxlength="30" runat="server"></asp:textbox>
											</td>
										</tr>
										<tr>
											<td>
												Last Name :
											</td>
											<td>
												<asp:textbox ID="lastname" maxlength="30" Runat="server"></asp:textbox>
											</td>
										</tr>
										<tr>
											<td>
												Country :
											</td>
											<td><asp:DropDownList ID="drpCountry" runat="server">
													<asp:ListItem Value="">Select Country</asp:ListItem>
													<asp:ListItem value="01">China</asp:ListItem>
													<asp:ListItem value="02">India</asp:ListItem>
													<asp:ListItem value="03">USA</asp:ListItem>
													<asp:ListItem value="04">UK</asp:ListItem>
													<asp:ListItem value="05">Korea</asp:ListItem>
													<asp:ListItem value="06">South Korea</asp:ListItem>
													<asp:ListItem value="07">Hong Kong</asp:ListItem>
													<asp:ListItem value="08">Indonesia</asp:ListItem>
													<asp:ListItem value="09">Germany</asp:ListItem>
													<asp:ListItem value="010">Taiwan</asp:ListItem>
													<asp:ListItem value="011">Malaysia</asp:ListItem>
													<asp:ListItem value="012">Italy</asp:ListItem>
													<asp:ListItem value="013">Singapore</asp:ListItem>
													<asp:ListItem value="014">Thailand</asp:ListItem>
													<asp:ListItem value="015">canada</asp:ListItem>
												</asp:DropDownList></td>
										</tr>
										<tr>
											<td>
												Contact Email :
											</td>
											<td>
												<asp:textbox ID="Email" runat="server" maxlength="50"></asp:textbox>&nbsp; <span id="divEmailFieldAsterisk" style="POSITION:relative">
													<img src="<%=imgpath%>/required.gif" border="0" alt="required field"></span>
											</td>
										</tr>
										<tr>
											<td>
												Contact Phone :
											</td>
											<td>
												<asp:textbox ID="Phone" maxlength="30" Runat="server"></asp:textbox>
											</td>
										</tr>
										<!--<tr>
											<td>
												Extension:
											</td>
											<td>
												<asp:textbox ID="Ext" Runat="server" maxlength="30"></asp:textbox>
											</td>
										</tr>-->
										<tr>
											<td>
												<span id="divSupervisorLabel">Supervisor :</span>&nbsp;
											</td>
											<td>
												<%if Not IsNothing(aUsersSorted) then
												Response.write(sHTML)%>
												<!--<asp:DropDownList ID="drpSuperv" Runat="server"></asp:DropDownList>-->
												<input type="hidden" name="supervisor" value="<%=Supervisor%>">
												<%else ' --- aUsersSorted IS NOT AN ARRAY %>
												Could not retrieve user list.
											</td>
											<%end if%>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td colspan="2" align="center">
									<hr size="1" width="100%">
									<input type="hidden" name="CID" value="<%=aUserSession(cINCIDCONTEXT)%>">
									<input type="hidden" name="VID" value="<%=aUserSession(cINGIDCONTEXT)%>">
									<input type="hidden" name="uid" value="<%=sUID%>"> <input type="hidden" name="vid" value="<%=sVID%>">
									<asp:Button ID="btnCreate" Text="Create" Runat="server"></asp:Button>&nbsp;&nbsp;
									<asp:button ID="btnCancel" Text="Cancel" Runat="server"></asp:button>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
